language 您所在的位置:网站首页 load language language

language

2024-07-13 09:45| 来源: 网络整理| 查看: 265

language Since: DataTables 1.10

Language configuration options for DataTables.

Description

All strings that DataTables uses in its user interface are defined in this object, allowing you to modified them individually or completely replace them all as required. This ensures that DataTables is fully internationalisable as strings for any language can be used.

The default language options for DataTables are shown below for reference. Additionally there are a wide range of translations readily available on this site, in the internationalisation plug-ins.

The following is the default object that DataTables uses for its language strings (for information about each individual parameter, please see its individual documentation document):

{ "decimal": "", "emptyTable": "No data available in table", "info": "Showing _START_ to _END_ of _TOTAL_ entries", "infoEmpty": "Showing 0 to 0 of 0 entries", "infoFiltered": "(filtered from _MAX_ total entries)", "infoPostFix": "", "thousands": ",", "lengthMenu": "Show _MENU_ entries", "loadingRecords": "Loading...", "processing": "", "search": "Search:", "zeroRecords": "No matching records found", "paginate": { "first": "First", "last": "Last", "next": "Next", "previous": "Previous" }, "aria": { "orderable": "Order by this column", "orderableReverse": "Reverse order this column" } }

As of DataTables 1.10.7 the new i18n() method can be used by plug-in authors to access language information from the language object. As such the list of parameters available here is not exhaustive - please refer to the documentation for the plug-in if it makes use of the i18n() method for full information about the parameters it can use.

Type

This option can be given in the following type(s):

object Related

The following options are directly related and may also be useful in your application development.

APIi18n()Optionslanguage.decimallanguage.emptyTablelanguage.infolanguage.infoEmptylanguage.infoFilteredlanguage.infoPostFixlanguage.thousandslanguage.lengthMenulanguage.loadingRecordslanguage.processinglanguage.searchlanguage.zeroRecordslanguage.paginatelanguage.paginate.firstlanguage.paginate.lastlanguage.paginate.nextlanguage.paginate.previouslanguage.arialanguage.aria.orderablelanguage.aria.orderableReverse


【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有